package edu.guet.server.model.SemesterStatistic;

import lombok.Data;

import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;

@Data
public class ChapterScores {
    private String chapter;
    private List<TestScore> testScores;
    private List<HomeworkScore> homeworkScores;

    @Data
    // 内部类用于表示测试分数  
    public static class TestScore {
        private String studentId;
        private String username;
        private double score;
    }
    @Data
    // 内部类用于表示作业分数  
    public static class HomeworkScore {
        private String studentId;
        private String username;
        private double score;
    }
}